<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>数据字典</title>
<%@ include file="/ui/jsp/util.jspf" %>
<!-- 引入数据字典js文件 -->
<script type="text/javascript"
	src="${pageContext.request.contextPath }/ui/js/BasicDataManagement/DataDictionary/DataDictionary.js"></script>
</head>

<body>
	<div class="clearfix">
		<div class="wapper-content animated fadeInRight">
			<div class="ibox">
				<div class="ibox-title">
					<div class="col-sm-6">
						<h4>数据字典管理</h4>
					</div>
					<div class="col-sm-6">
						<div class="ibox-tools">
							<a class="collapse-link"> <i class="fa fa-chevron-up"></i>
							</a> <a class="close-link"> <i class="fa fa-times"></i>
							</a>
						</div>
					</div>
				</div>
				<div class="ibox-content">
					<div style="display:inline; height: 500px;">
						<div style="float:left; width: 650px;">
							<div class="wapper-content animated fadeInRight">
								<div class="ibox">
									<div class="ibox-title">
										<div class="col-sm-6">
											<h5>数据字典列表</h5>
										</div>
									</div>
									<div class="ibox-content">
										<div class="zTreeDemoBackground left">
											<ul id="treeDemo" class="ztree"></ul>
										</div>
									</div>
								</div>
							</div>
						</div>
						<div style="float:right; width: 650px;">
							<div class="wapper-content animated fadeInRight">
								<div class="ibox">
									<div class="ibox-title">
										<div class="col-sm-6">
											<h5>修改菜单信息</h5>
										</div>
									</div>
									<div class="ibox-content form-horizontal" style="border-right: solid 1px ; border-left: solid 1px; border-bottom: solid 1px;">
									<form id="upDateDictionaryForm" action="${ctx}/Aaron/DataDictionary/insertDictionary">
										<input type="hidden" id="pid" name="pid"/>
										<input type="hidden" id="parentPid" name="parentPid"/>
										<input type="hidden" id="id" name="id"/>
										<div class="row form-group">
											<div class="col-md-9">
												<div class="row no-margin">
													<div class="col-sm-4 control-label">
														<label>字典名称:</label>
													</div>
													<div class="col-sm-8 no-padding">
														<input id="dictionaryName" name="ddName" class="form-control" type="text" value="">
													</div>
												</div>
											</div>
										</div>
										<div class="row form-group">
											<div class="col-md-9">
												<div class="row no-margin">
													<div class="col-sm-4 control-label">
														<label>字典英文名称:</label>
													</div>
													<div class="col-sm-8 no-padding">
														<input id="dictionaryNameEn" name="ddNameEn" class="form-control" type="text" value="">
													</div>
												</div>
											</div>
										</div>
										<div class="row form-group">
											<div class="col-md-9">
												<div class="row no-margin">
													<div class="col-sm-4 control-label">
														<label>字典编码:</label>
													</div>
													<div class="col-sm-8 no-padding">
														<input id="dictionaryCode" name="ddCode" class="form-control" type="text" value="">
													</div>
												</div>
											</div>
										</div>
										<div class="row form-group">
											<div class="col-md-10" style="margin-top:5px;">
                    							<a id="bdDataDictionaryDetailsSaveBtn" class="btn btn-info" href="javascript:save();"><i class="icon-save"></i>保存</a>
                   								<a id="bdDataDictionaryDetailsAddChildrenBtn" class="btn btn-info" href="javascript:AddChild();"><i class="icon-arrow-right"></i>增加子项</a>
                   								<a id="bdDataDictionaryDetailsReturnFatherBtn" class="btn btn-info" href="javascript:ReturnFather();" style="display: none;"><i class="icon-arrow-right"></i>返回编辑父项</a>
               								</div>
										</div>
										</form>
									</div>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</div>
</body>
</html>
